﻿// See https://aka.ms/new-console-template for more information
using ExcelTest;

Console.WriteLine("Hello, World!");


List<UserInfo> users = new List<UserInfo>()
{
    new UserInfo(1,"孔明",1.20,"666"),
    new UserInfo(2,"小王",1.232,"666"),
    new UserInfo(3,"小李",3.132,"616"),
};

ExportModel model = new ExportModel
{
    FileName = "用户信息表",
    SavePath = "E:/Files",
    Title = "用户信息表"
};

await ExcelHelper2.ListToExcelAsync(users, model);

Console.ReadLine();